"""
处理和分析数据库，类似于Excel表格格式。
可以对Excel、Sql、CSV格式进行提取
"""
import pandas as pd
from IPython.display import display

data = {
    "Name": ["小花", "小明", "小红"],
    "Location": ["上海", "广州", "河南"],
    "Age": [23, 18, 26]
}
data_pandas = pd.DataFrame(data)
# 打印
display(data_pandas)

# 查询
display(data_pandas[data_pandas.Age > 20])